<?php 
include 'core/init.php';
include 'includes/overall/header.php';
 ?>
<div id="body-container">
		<h2><b>Velkommen til Nashout</b></h2>
			____________________________________________________________________________<br><br>
		
			<p id="p_black">
			Har du tenkt på å trene, men er usikker på treningsprogram?<br>
			Har du mye treningserfaring og ønsker å dele dine<br>
			kunnskaper med andre? Eller ønsker du bare å finne nye og sunne<br>
			middagsforslag?<br><br>
			
	<?php
	if(logged_in() === true)	{
			echo 'Vi har noe for alle!<br>';
	}	else	{
			echo 'Vi har noe for alle! Bare <a href="register.php">lag deg en konto</a> og kom i gang!<br>'; 
	}
	
	?>


			
			____________________________________________________________________________<br><br>
<h2>Følg oss gjerne på facebook og twitter!</h2>
<!-- Twitter-->
<script>!function(d,s,id){
		var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
		if(!d.getElementById(id)){
		js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";
		fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>
<div id="twitter_activity"><br>
<a class="twitter-timeline" width="300" height="300" href="https://twitter.com/officialnashout" data-widget-id="390799063018246145"></a>

</div>




<!-- Facebook-->
<div id="fb-root"></div>
<script>(function(d, s, id) {
	  var js, fjs = d.getElementsByTagName(s)[0];
	  if (d.getElementById(id)) return;
	  js = d.createElement(s); js.id = id;
	  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
	  fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));
</script>
<div id="facebook_activity"><br>
<div class="fb-like-box" width="300" height="300" data-href="https://www.facebook.com/pages/Nashout/587179181318024?fref=ts" data-width="The pixel width of the plugin" data-height="The pixel height of the plugin" data-colorscheme="light" data-show-faces="false" data-header="true" data-stream="true" data-show-border="true"></div>
			____________________________________________________________________________<br><br>


</div>
<?php include 'includes/overall/footer.php'; ?>
